.class Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8$1;
.super Lcom/qiniu/auth/JSONObjectRet;
.source "UserInfoModifyActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;->run()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;)V
    .registers 2
    .param p1, "this$1"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;

    .prologue
    .line 386
    iput-object p1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8$1;->this$1:Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;

    invoke-direct {p0}, Lcom/qiniu/auth/JSONObjectRet;-><init>()V

    return-void
.end method


# virtual methods
.method public onFailure(Ljava/lang/Exception;)V
    .registers 3
    .param p1, "ex"    # Ljava/lang/Exception;

    .prologue
    .line 390
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    .line 391
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8$1;->this$1:Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;

    iget-object v0, v0, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;->val$tempFile:Ljava/io/File;

    if-eqz v0, :cond_1a

    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8$1;->this$1:Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;

    iget-object v0, v0, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;->val$tempFile:Ljava/io/File;

    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v0

    if-eqz v0, :cond_1a

    .line 392
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8$1;->this$1:Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;

    iget-object v0, v0, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;->val$tempFile:Ljava/io/File;

    invoke-virtual {v0}, Ljava/io/File;->delete()Z

    .line 395
    :cond_1a
    const v0, 0x7f0c004e

    invoke-static {v0}, Lcom/brixd/niceapp/util/ToastUtils;->show(I)V

    .line 396
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8$1;->this$1:Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;

    iget-object v0, v0, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity;

    # invokes: Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity;->hideDialog()V
    invoke-static {v0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity;->access$1000(Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity;)V

    .line 399
    return-void
.end method

.method public onSuccess(Lorg/json/JSONObject;)V
    .registers 4
    .param p1, "obj"    # Lorg/json/JSONObject;

    .prologue
    .line 403
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8$1;->this$1:Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;

    iget-object v0, v0, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;->val$tempFile:Ljava/io/File;

    if-eqz v0, :cond_17

    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8$1;->this$1:Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;

    iget-object v0, v0, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;->val$tempFile:Ljava/io/File;

    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v0

    if-eqz v0, :cond_17

    .line 404
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8$1;->this$1:Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;

    iget-object v0, v0, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;->val$tempFile:Ljava/io/File;

    invoke-virtual {v0}, Ljava/io/File;->delete()Z

    .line 407
    :cond_17
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8$1;->this$1:Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;

    iget-object v0, v0, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;->this$0:Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity;

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8$1;->this$1:Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;

    iget-object v1, v1, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity$8;->val$serverPath:Ljava/lang/String;

    # invokes: Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity;->commitModify(Ljava/lang/String;)V
    invoke-static {v0, v1}, Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity;->access$1100(Lcom/brixd/niceapp/userinfo/activity/UserInfoModifyActivity;Ljava/lang/String;)V

    .line 408
    return-void
.end method
